package com.wnn.demo.model.task.service;

import com.github.pagehelper.PageInfo;
import com.wnn.demo.domain.Task;

import java.util.List;

public interface TaskService  {


	void save(Task task);


	void submit(Task task);

    List<Task> findList();

	Task selectOne(Task task);

    Integer deletedOne(String id);

	void update(Task task);

	Integer submitId(Task task);

	List<Task> findAuditList();

	List<Task> findReleaseTask();

	List<Task> selectByTime(Task task);

	PageInfo<Task> selectTaskAll(Integer page, Integer limit);
}
